package com.shenma2009.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 军哥
 * @version 1.0
 * @description: LogController
 * @date 2023/6/12 14:49
 */

@RestController
@Slf4j
@RequestMapping(value = "/log")
public class LogController {

    @GetMapping(value = "/test")
    public String test() {
        for (int index = 0; index < 10; index++) {
            log.info("index="+index);
        }

        return ""+System.currentTimeMillis();
    }

}
